package zuo;

public class Shuyiz {
    public static void main(String[] args) {
        int a[]={4,5,67,8,9,4,5};
        int b[]={4,5,67,8,9,4,6};
        boolean cha=true;
        if(a.length!=b.length){
            System.out.println("数组不完全相同");
        }else {
            for (int i = 0; i < a.length; i++) {
                if(a[i]!=b[i]){
                    cha=false;
                }
            }
        }
        if(cha){
            System.out.println("数组完全相同");
        }else {
            System.out.println("数组不完全相同");
        }

    }







}
